back · tests/sessions.spec.js:519:1 @ capacitor-storage all
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 60000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/e06c1acb-859c-457e-ba74-70eb7e1050b6"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/e06c1acb-859c-457e-ba74-70eb7e1050b6"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
at tests/sessions.spec.js:548:73
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/2ad1ae6c-6cab-4e5f-afb6-6de9c074fd08"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/2ad1ae6c-6cab-4e5f-afb6-6de9c074fd08"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
at tests/sessions.spec.js:569:76
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/2928b19c-d762-458b-9ea2-ff9caa43d3f1"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/2928b19c-d762-458b-9ea2-ff9caa43d3f1"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
at tests/sessions.spec.js:569:76
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 60000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/de99ba44-a036-48f9-8d8f-457d90572ac3"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/de99ba44-a036-48f9-8d8f-457d90572ac3"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
at tests/sessions.spec.js:548:73
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 60000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/4f470914-11d3-4c48-84d1-c5487b495d54"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/4f470914-11d3-4c48-84d1-c5487b495d54"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
at tests/sessions.spec.js:548:73
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/412cec69-c8c6-4c45-bb35-bb7b239904cf"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/412cec69-c8c6-4c45-bb35-bb7b239904cf"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
at tests/sessions.spec.js:569:76
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 60000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/b3e4a8ee-6a4d-47a3-b9f1-bb9bbf427a71"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/b3e4a8ee-6a4d-47a3-b9f1-bb9bbf427a71"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
at tests/sessions.spec.js:548:73
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/dc2d55fa-70fb-44dd-a961-923e79c65937"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/dc2d55fa-70fb-44dd-a961-923e79c65937"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
at tests/sessions.spec.js:569:76
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/9c6df673-8343-4c4b-a46a-4062b342576b"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/9c6df673-8343-4c4b-a46a-4062b342576b"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
at tests/sessions.spec.js:569:76
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 60000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/ff02a0b5-9273-449b-ad6b-11af40995379"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/ff02a0b5-9273-449b-ad6b-11af40995379"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
at tests/sessions.spec.js:548:73
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 60000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/2860bca5-7ca3-4592-856f-f7c813acdc51"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: '20K-gray.jpeg' })
- locator resolved to <img alt="20K-gray.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/2860bca5-7ca3-4592-856f-f7c813acdc51"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 36160 pixels (ratio 0.25 of all image pixels) are different.
at tests/sessions.spec.js:548:73
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/febb30c0-9a21-4e61-acf0-bb983457436d"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('sidepanel').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).or(getByTestId('session-metadata').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) })).or(getByTestId('descriptors').locator('.metadata').filter({ has: locator('label').filter({ hasText: 'Sessionwide file' }) }).first()).getByRole('img', { name: 'large-image.jpeg' })
- locator resolved to <img alt="large-image.jpeg" class="image svelte-ac4oqd" src="blob:http://localhost:4173/febb30c0-9a21-4e61-acf0-bb983457436d"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- Expected an image 600px by 181px, received 800px by 181px. 38509 pixels (ratio 0.27 of all image pixels) are different.
at tests/sessions.spec.js:569:76